from flask import Flask, render_template, flash, redirect, url_for, session, request, logging
#from mysql_util import MysqlUtil
#from passlib.hash import sha256_crypt
#from functools import wraps
#import time
#from forms import RegisterForm,ArticleForm

app = Flask(__name__)

# #首页
@app.route('/')
def index():  # put application's code here
    return render_template('home.html') # 渲染模版
#
#关于我们
@app.route('/about')
def about():
    return render_template('about.html')
if __name__ == '__main__':
    app.run()